package com.zhcd.sys.service;

import com.zhcd.sys.pojo.Manage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author feifei
 * @since 2021-11-29
 */
public interface ManageService extends IService<Manage> {
    //登录
    public Manage login(String username,String password);
    //登录时间
    public int upd_loginTime(Manage manage,Date date);
    //注册
    public int register(Manage manage);
    //查询全部用户
    public List<Manage> getAll_Manage();
    //id查询单个用户
    public Manage getOne_Manage(int id);
}
